package com.itheima.service.umsService;

import com.itheima.domain.db.ums.UmsResourceCategory;

import java.util.List;

public interface UmsResourceCategoryService {

    /**
     * 增加资源分类
     * @param umsResourceCategory
     */
    void addResourceCategory(UmsResourceCategory umsResourceCategory);

    /**
     * 根据id删除资源分类
     * @param id
     */
    void deleteResourceCategory(Integer id);


    /**
     * 修改资源分类
     * @param id
     * @param umsResourceCategory
     */
    void updateResourceCategory(Integer id,UmsResourceCategory umsResourceCategory);


    /**
     *查询所有分类资源
     * @return
     */
    List<UmsResourceCategory> selectResourceCategoryList();
}
